package filmring

/**
 * an Activity Feed Event specifies an action that a user has taken that should be available as history or
 * to other users
 */
class ActivityFeedEvent {

    FRUser user  //The User who created the event through an action
    Movie movie // An optional parameter if the event was directed at a movie
    String action  //A textual description of the event that can be displayed in a users activity feed
    Date dateCreated

    static constraints = {
        movie(nullable: true)
    }
}